#include<graphics.h>
#include<conio.h>

int main()
{
	initgraph(640, 640);

	line(10, 10, 300, 50);
	_getch();

	line(10,10, 300, 200);

	line(300,50, 450,150);
	line(300, 200, 450, 350);

	line(450, 150, 510, 20);
	line(450, 350, 510, 610);

	line(510, 20, 620, 160);
	line(510, 610, 620, 620);

	line(620, 160, 639, 639);
	line(620,620, 639, 639);

	_getch();

	closegraph();
	return 0;
}
